<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<fmt:setLocale value="pt_BR"/>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="javascripts/efeitos.js"></script>
<script type="text/javascript" src="javascripts/loja.js"></script>
<script type="text/javascript" src="javascripts/jquery.js"></script>
<ul>
	<c:forEach var="musica" items="${carrinho.musicas}">
		<li class="compra" id="compra-${musica.id}">
			<b>${musica.titulo} (<fmt:formatNumber value="${musica.preco}" type="currency" />)</b><br/>
			CD ${musica.cd.titulo} - ${musica.cd.artista}
		</li>
	</c:forEach>
</ul>
<div id="total">
	Total: <fmt:formatNumber value="${carrinho.total}" type="currency" />
</div>